export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/shoppage/index',
    'pages/cartpage/index',
    'pages/mypage/index',
  ],
  subPackages: [
    {
      'root': 'packageA',
      'pages': [
        'pages/productDetail/index',
        'pages/confirmOrder/index',
        'pages/addressList/index',
        'pages/writeAddress/index',
        'pages/confirmPay/index',
        'pages/orderList/index',
        'pages/orderDetail/index',
        'pages/selfInfo/index',
        'pages/feedback/index',
        'pages/integral/index',
        'pages/integralDetail/index',
        'pages/couponList/index',
        'pages/recharge/index',
        'pages/collectPage/index',
        'pages/useGoods/index',
        'pages/invite/index',
        'pages/rewards/index',
        'pages/changeIntegral/index',
        'pages/petID/index',
        'pages/petIDList/index',
        'pages/promotion/index',
        'pages/active/index',
        'pages/question/index',
      ]
    }
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#4985F2',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'white',
    enablePullDownRefresh: true,
    onReachBottomDistance: 50,
  },
  plugins: {
    logisticsPlugin: {
      "version": "2.2.28",
      "provider": "wx9ad912bf20548d92"
    }
  }
})
